package com.zzptc.myapp1028;

public class Book {
    private int pic;//图片
    private int id;//编号
    private String name;//书名
    private float price;//价格

    public Book() {

    }

    public Book(int pic, int id, String name,float price) {
        this.pic = pic;
        this.id = id;
        this.name = name;
        this.price = price;
    }

    public int getPic() {
        return pic;
    }

    public void setPic(int pic) {
        this.pic = pic;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}

